package com.unhz.generator.dao;

import com.unhz.generator.pojo.Report;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: 沈佳庆
 * @Description: 质检报告图片
 * @Date: Created in 上午 10:30 2018/1/29 0029
 * @Modified By: V1.0.0
 */
@Repository
public interface ReportMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Report record);

    int insertSelective(Report record);

    Report selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Report record);

    int updateByPrimaryKey(Report record);

    List<Report> selectReportImageList(@Param("insoleId") Integer insoleId);

    String[] selectImageById(Integer id);

    void deleteReportImage(@Param("insoleId") Integer insoleId);
}